blockquote,
fieldset,
figure,
form,
h1,
h2,
h3,
h4,
h5,
h6,
legend,
li,
menu,
ol,
p,
pre,
ul {
  margin: 0;
  padding: 0;
}

html {
  font-size: 4.8vmin;
  font-size: 4.8vm \9;
  @media all and (min-width: 600px) {
    font-size: 18px;
  }
}

body {
  min-width: 320px;
  margin: 0 auto;
  font-family: -apple-system, Helvetica, Arial, 'PingFang SC',
    'Droid Sans Fallback', 'Microsoft YaHei', 'ST Heiti', sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}

div,
figure {
  box-sizing: border-box;
}

details,
main {
  display: block;
}

[hidden],
template {
  display: none;
}

audio,
canvas,
progress,
video {
  vertical-align: baseline;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: 700;
}

a {
  text-decoration: none;
}

abbr[title] {
  border-bottom: 1px dotted;
}

b,
strong {
  font-weight: 700;
}

sub,
sup {
  position: relative;
  vertical-align: baseline;
}

img {
  max-width: 100%;
  vertical-align: middle;
  border: 0;
}

svg:not(:root) {
  overflow: hidden;
}

hr {
  box-sizing: content-box;
  height: 0;
}

pre {
  word-break: break-all;
  word-break: break-word;
  hyphens: auto;
}

optgroup {
  margin: 0;
  color: inherit;
  font: inherit;
  font-weight: 700;
}

button,
input,
select,
textarea {
  margin: 0;
  color: inherit;
  font: inherit;
  outline: 0;
}

button {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
html input[type='button'],
input[type='reset'],
input[type='submit'] {
  -webkit-appearance: none;
}

input::-ms-clear {
  display: none;
}

input[type='text'] {
  -webkit-appearance: none;
}

input[type='checkbox'],
input[type='radio'] {
  box-sizing: border-box;
  padding: 0;
}

input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
  height: auto;
}

input[type='search'] {
  box-sizing: content-box;
}

input[type='search']::-webkit-search-cancel-button,
input[type='search']::-webkit-search-decoration {
  -webkit-appearance: none;
}

textarea {
  -webkit-appearance: none;
  overflow-y: auto;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}
menu,
ol,
ul {
  list-style: none outside none;
}

.clearfix::after,
.clearfix::before {
  content: ' ';
  display: table;
}

.clearfix::after {
  clear: both;
}
